<?php
namespace app\index\controller;

class Index
{
	public function index()
	{
		$data = array(
			'name' => 'red_panda',
			'address' => 'China'
		);
		$code = 200;
		$msg = 'ok';
		return [
			'date' => $data, 'code' => $code, 'msg' => $msg
		];
	}
}
